<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="inspur.Student" pageEncoding="UTF-8"%>
	<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>ZB6118103</title>
</head>
<body>
<jsp:useBean id="stu" class="inspur.Student"/>

<%--通过<c:set>标签给javaBean对象的age属性设值--%>

<c:set value="66" target="${stu}" property="age"/>

<%--输出javaBean对象的属性值--%>

年龄:<c:out value="${stu.age}"/>
</body>
</html>